package com.ckx.domain.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

@Data
@Accessors(chain = true)  //链式编程
@AllArgsConstructor
@NoArgsConstructor
public class MenuByRoleAddVo implements Serializable {
    private static final long serialVersionUID = 741990210871141653L;

    //菜单ID
    private Long id;
    //菜单名称
    private String label;
    //父菜单ID
    private Long parentId;

    private List<MenuByRoleAddVo> children;


}

